package com.test.textGame.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import lombok.Data;

import java.util.Date;

@Data
@TableName("player_score")
public class PlayerScore {
	/**
	 * 主键
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;

	/**
	 * 
	 */
	@TableField("user_id")
	private Long userId;

	/**
	 * 
	 */
	@TableField("user_name")
	private String userName;

	/**
	 * 玩家得分
	 */
	@TableField("game_score")
	private Integer gameScore;

	/**
	 *
	 */
	@TableField("create_time")
	private Date createTime;

	/**
	 * 0未删除，1已删除
	 */
	@TableField("deleted")
	private Integer deleted;

}